package com.estate.common.core.domain.req;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author jpp
 * @since 2025/11/25
 */
@Data
public class SysUserUpdatePwdReq implements Serializable {
    private static final long serialVersionUID = 1L;

    @NotNull(message = "The userId cannot be empty")
    private Long userId;

    @NotNull(message = "The oldPassword cannot be empty")
    private String oldPassword;

    @NotNull(message = "The newPassword cannot be empty")
    private String newPassword;

}
